package ExtEntities;

import Entities.Album;
import Entities.Genre;
import Entities.Group;
import java.util.LinkedList;

/**
 *
 * @author 647_2
 */
public class ExtComposition {
    protected int ID;
    protected String name;
    protected double duration;
    protected LinkedList<Group> groups;
    protected LinkedList<Album> albums;
    protected LinkedList<Genre> genres;

    public ExtComposition(){
        ID = 0;
        name = "";
        duration = 0.0;
        groups = new LinkedList<Group>();
        albums = new LinkedList<Album>();
        genres = new LinkedList<Genre>();
    }

    public ExtComposition(int ID, String name, double duration, LinkedList<Group> groups, LinkedList<Album> albums, LinkedList<Genre> genres){
        this.ID = ID;
        this.name = name;
        this.duration = duration;
        this.groups = groups;
        this.albums = albums;
        this.genres = genres;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public LinkedList<Album> getAlbums() {
        return albums;
    }

    public void setAlbums(LinkedList<Album> albums) {
        this.albums = albums;
    }

    public LinkedList<Genre> getGenres() {
        return genres;
    }

    public void setGenres(LinkedList<Genre> genres) {
        this.genres = genres;
    }

    public LinkedList<Group> getGroups() {
        return groups;
    }

    public void setGroups(LinkedList<Group> groups) {
        this.groups = groups;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getDuration() {
        return duration;
    }

    public void setDuration(double duration) {
        this.duration = duration;
    }
}
